package com.ryan.encrypttool.business.auth.entity.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 角色表(Role)表实体类
 *
 * @author makejava
 * @since 2024-03-03 02:08:14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
public class Role implements Serializable {

    private static final long serialVersionUID = 704889818595549475L;

    /**
     * id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 角色编码
     */
    @TableField(value = "role_id")
    private String roleId;

    /**
     * 角色名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 关键字
     */
    @TableField(value = "keyword")
    private String keyword;

    /**
     * 描述
     */
    @TableField(value = "description")
    private String description;

    /**
     * 数据是否有效 0 有效 1 无效
     */
    @TableField(value = "state")
    private String state;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Long createTime;

    /**
     * 上次修改时间
     */
    @TableField(value = "update_time")
    private Long updateTime;

}
